package com.ph.shopping.facade.merchant.entity; /**
 * 
 */

import javax.persistence.Column;
import javax.persistence.Table;

import com.ph.shopping.common.core.base.BaseEntity;

/**
 * @项目：
 *
 * @描述：商户
 *
 * @作者：黄东东
 *
 * @创建时间：2017年3月10日
 *
 * @Copyright @2017 by 黄东东
 */
@Table(name = "ph_merchant")
public class Merchant extends BaseEntity{
	private static final long serialVersionUID = 887870866124395521L;

	@Column(name="merchantName")
    private String merchantName;

    @Column(name="merchantTel")
    private String merchantTel;

    @Column(name="personName")
    private String personName;
    
    //详细地址   
    @Column(name="address")
    private String address;

    @Column(name="agentId")
    private Long agentId;

    @Column(name="provinceId")
    private Long provinceId;

    @Column(name="cityId")
    private Long cityId;

    @Column(name="countyId")
    private Long countyId;

    @Column(name="townId") 
    private Long townId;

    //商户审核状态  商户审核状态：0待审核，1审核通过，2被驳回,3冻结
    @Column(name="status")
    private Integer status;
    
    @Column(name="createId")
    private Long createId;
        
    //身份证号码
    @Column(name="idCard")
    private String idCard;
    
    //营业执照编号
    @Column(name="businessNumber")
    private String businessNumber;
    
    //推广师手机
    @Column(name="promoterTel")
    private String promoterTel;
    
    //推广师名字
    @Column(name="promoterName")
    private String promoterName;
    
    //公司名字
    @Column(name="companyName")
    private String companyName;
    
    //商戶分潤比率
    @Column(name="businessProfitRatio")
    private Double businessProfitRatio;
    
    //区域表id
    @Column(name="positionId")
    private Long positionId;
    
    @Column(name="updateId")
    private Long updateId;
    
	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public String getMerchantTel() {
		return merchantTel;
	}

	public void setMerchantTel(String merchantTel) {
		this.merchantTel = merchantTel;
	}

	public String getPersonName() {
		return personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Long getAgentId() {
		return agentId;
	}

	public void setAgentId(Long agentId) {
		this.agentId = agentId;
	}

	public Long getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(Long provinceId) {
		this.provinceId = provinceId;
	}

	public Long getCityId() {
		return cityId;
	}

	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}

	public Long getCountyId() {
		return countyId;
	}

	public void setCountyId(Long countyId) {
		this.countyId = countyId;
	}

	

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Long getCreateId() {
		return createId;
	}

	public void setCreateId(Long createId) {
		this.createId = createId;
	}



	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getBusinessNumber() {
		return businessNumber;
	}

	public void setBusinessNumber(String businessNumber) {
		this.businessNumber = businessNumber;
	}

	public String getPromoterTel() {
		return promoterTel;
	}

	public void setPromoterTel(String promoterTel) {
		this.promoterTel = promoterTel;
	}

	public String getPromoterName() {
		return promoterName;
	}

	public void setPromoterName(String promoterName) {
		this.promoterName = promoterName;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public Double getBusinessProfitRatio() {
		return businessProfitRatio;
	}

	public void setBusinessProfitRatio(Double businessProfitRatio) {
		this.businessProfitRatio = businessProfitRatio;
	}

	public Long getUpdateId() {
		return updateId;
	}

	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}

	public Long getPositionId() {
		return positionId;
	}

	public void setPositionId(Long positionId) {
		this.positionId = positionId;
	}

	public Long getTownId() {
		return townId;
	}

	public void setTownId(Long townId) {
		this.townId = townId;
	}



}
